<?php
Class Mentoring_Model extends CI_Model{
    function get($type)
    {
        
        $this->db->select('course_no');
        $this->db->where('is_project',$type);
        $query = $this->db->get('course');
        return $query;
    }
}
//end of mentoring_model.php